package com.sen.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sen.reggie.entity.Orders;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author: Zs
 * @date:2022/6/6 22:27
 */
@Service
public interface OrdersService extends IService<Orders> {
    //用户下单，需要在Orders表中来查询 用户的相关信息
    @Transactional
    void submit(Orders orders);
}
